package org.whuims.pois.model;

import org.apache.struts.action.ActionForm;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by zhongwei on 2014/5/13.
 */
@Entity
@javax.persistence.Table(name = "site_c")
public class SiteC extends ActionForm{
    private long id;
    private String siteName;
    private String encoding;
    private String dtype;
    private byte isse;
    private String planguage;
    private String host;
    private String resultUrlMode;
    private Integer ruleType;
    private int extractType;
    private String blockRule;
    private String titleRule;
    private String linkRule;
    private String abstextRule;
    private String siteRule;
    private String timeRule;
    private String nextPageRules;
    private int contentType;
    private String contentRule;
    private String clickNumRule;
    private String replyNumRule;
    private String dateformat;
    private Integer pstatus;

    @Id
    @javax.persistence.Column(name = "id")
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Basic
    @javax.persistence.Column(name = "siteName")
    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    @Basic
    @javax.persistence.Column(name = "encoding")
    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    @Basic
    @javax.persistence.Column(name = "dtype")
    public String getDtype() {
        return dtype;
    }

    public void setDtype(String dtype) {
        this.dtype = dtype;
    }

    @Basic
    @javax.persistence.Column(name = "isse")
    public byte getIsse() {
        return isse;
    }

    public void setIsse(byte isse) {
        this.isse = isse;
    }

    @Basic
    @javax.persistence.Column(name = "planguage")
    public String getPlanguage() {
        return planguage;
    }

    public void setPlanguage(String planguage) {
        this.planguage = planguage;
    }

    @Basic
    @javax.persistence.Column(name = "host")
    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    @Basic
    @javax.persistence.Column(name = "resultUrlMode")
    public String getResultUrlMode() {
        return resultUrlMode;
    }

    public void setResultUrlMode(String resultUrlMode) {
        this.resultUrlMode = resultUrlMode;
    }

    @Basic
    @javax.persistence.Column(name = "ruleType")
    public Integer getRuleType() {
        return ruleType;
    }

    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    @Basic
    @javax.persistence.Column(name = "extractType")
    public int getExtractType() {
        return extractType;
    }

    public void setExtractType(int extractType) {
        this.extractType = extractType;
    }

    @Basic
    @javax.persistence.Column(name = "blockRule")
    public String getBlockRule() {
        return blockRule;
    }

    public void setBlockRule(String blockRule) {
        this.blockRule = blockRule;
    }

    @Basic
    @javax.persistence.Column(name = "titleRule")
    public String getTitleRule() {
        return titleRule;
    }

    public void setTitleRule(String titleRule) {
        this.titleRule = titleRule;
    }

    @Basic
    @javax.persistence.Column(name = "linkRule")
    public String getLinkRule() {
        return linkRule;
    }

    public void setLinkRule(String linkRule) {
        this.linkRule = linkRule;
    }

    @Basic
    @javax.persistence.Column(name = "abstextRule")
    public String getAbstextRule() {
        return abstextRule;
    }

    public void setAbstextRule(String abstextRule) {
        this.abstextRule = abstextRule;
    }

    @Basic
    @javax.persistence.Column(name = "siteRule")
    public String getSiteRule() {
        return siteRule;
    }

    public void setSiteRule(String siteRule) {
        this.siteRule = siteRule;
    }

    @Basic
    @javax.persistence.Column(name = "timeRule")
    public String getTimeRule() {
        return timeRule;
    }

    public void setTimeRule(String timeRule) {
        this.timeRule = timeRule;
    }

    @Basic
    @javax.persistence.Column(name = "nextPageRules")
    public String getNextPageRules() {
        return nextPageRules;
    }

    public void setNextPageRules(String nextPageRules) {
        this.nextPageRules = nextPageRules;
    }

    @Basic
    @javax.persistence.Column(name = "contentType")
    public int getContentType() {
        return contentType;
    }

    public void setContentType(int contentType) {
        this.contentType = contentType;
    }

    @Basic
    @javax.persistence.Column(name = "contentRule")
    public String getContentRule() {
        return contentRule;
    }

    public void setContentRule(String contentRule) {
        this.contentRule = contentRule;
    }

    @Basic
    @javax.persistence.Column(name = "clickNumRule")
    public String getClickNumRule() {
        return clickNumRule;
    }

    public void setClickNumRule(String clickNumRule) {
        this.clickNumRule = clickNumRule;
    }

    @Basic
    @javax.persistence.Column(name = "replyNumRule")
    public String getReplyNumRule() {
        return replyNumRule;
    }

    public void setReplyNumRule(String replyNumRule) {
        this.replyNumRule = replyNumRule;
    }

    @Basic
    @javax.persistence.Column(name = "dateformat")
    public String getDateformat() {
        return dateformat;
    }

    public void setDateformat(String dateformat) {
        this.dateformat = dateformat;
    }

    @Basic
    @Column(name="status")
    public Integer getPstatus() {
        return pstatus;
    }

    public void setPstatus(Integer status) {
        this.pstatus = status;
    }


}
